package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.NewsComment;
import cn.wolfcode.trip.base.domain.TravelComment;
import cn.wolfcode.trip.base.query.NewsCommentQueryObject;

import java.util.List;

public interface NewsCommentMapper {
    int deleteByPrimaryKey(Long id);
    int insert(NewsComment record);
    NewsComment selectByPrimaryKey(Long id);
    List<NewsComment> selectAll();
    int updateByPrimaryKey(NewsComment record);
    void saveNewsComment(NewsComment newsComment);
    List<NewsComment> selectForList(NewsCommentQueryObject qo);
}